home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _54FEC60B46A94B3C9FD930DF1D6B3BF4 < prev    next >
Encoding:
Text File  |  2005-08-12  |  1.2 KB  |  47 lines

  1. shader()
  2. {
  3.     cull("none")
  4.     sortweight("translucent14")
  5.     Shaderquality(0)
  6.     stream("color", 0)
  7.  
  8.     pass()
  9.     {
  10.         tmu()
  11.         {
  12.             TexMod("translate", "const", -0.5, 0, 0, "const", -0.5, 0, 0)
  13.             TexMod("rotate", "lin", 0, 250, 0.5, "none", 0, 0, 0)
  14.             TexMod("translate", "const", 0.5, 0, 0, "const", 0.5, 0, 0)
  15.  
  16.             texture()
  17.             {
  18.                   Mapchannel(0)
  19.                 image("CarExplosion.dds")
  20.                 addressfunc("clamp", "clamp", "clamp")
  21.             }
  22.  
  23.             colorop("mul", "texture", "diffuse_a", "current")
  24.         }
  25.  
  26.         tmu()
  27.         {
  28.             TexMod("translate", "const", -0.5, 0, 0, "const", -0.5, 0, 0)
  29.             TexMod("rotate", "lin", 0, -250, 0.5, "none", 0, 0, 0)
  30.             TexMod("translate", "const", 0.5, 0, 0, "const", 0.5, 0, 0)
  31.             texture()
  32.             {
  33.                   Mapchannel(0)
  34.                 image("CarExplosion2.dds")
  35.                 addressfunc("clamp", "clamp", "clamp")
  36.             }
  37.  
  38.             colorop("mul", "texture", "current", "current")
  39.         }
  40.  
  41.         blendfunc("one", "one")
  42.         depthfunc("lequal", 0)
  43.         BlackFog()
  44.         depthbias(%zbias, %zsbias)
  45.     }
  46. }
  47.